Loading several files at a same time in InstantJChem

User ce5f27518b

13-08-2012 12:34:56

Dear all,

In InstantJChem, I want to import several files in a same schema because things go faster than on a big one (for merging for instance). Do I have to import them one by one or is it a way to select all of them? And they will import them one after another?

Thanks a lot,


ChemAxon 60ee1f1328

13-08-2012 12:54:47

Hi Emilie,


I think these scripts should help you get started on this one, although check the edit section for each params.




I think you would need elements of both for what you want to do ?




User ce5f27518b

13-08-2012 15:15:31

If I have well understood, I have to do my own script for my request.

There is no way to do it with IJC interface? 

ChemAxon 60ee1f1328

13-08-2012 20:28:11

Since it is a hybrid of these two scripts, I suspect yes or we can assist you with it. I don't think you can select multiple files for input or import folder contents with current Import Dialog which is one at  time...


ChemAxon 60ee1f1328

14-08-2012 07:55:33

You could also concatenate your SDF files into one big one prior to loading, however if you go too large for a particular set up you may run into scaling issues, we are putting together a systems requirements page currently to assist in set up decisions...

ChemAxon 60ee1f1328

14-08-2012 08:52:19

Hi Emilie - my colleague FIlip Zimandl is going to do this merge for you - we will need to get in touch and arrange deployment of the resultant script to you.


User ce5f27518b

14-08-2012 08:55:05

Ok, thanks a lot.

ChemAxon 2bdd02d1e5

15-08-2012 13:52:16

Emilie, please try attached script.

It will import all SDF files in a given directory and its subdirectories to datatree. You must specify the directory path you wish to search for SDF files to import. It has the weakness that it imports all fields found in SDF file as String fields regardless its actual content - you might want to use the function on the field after import is finished; r-click on the column header and select Convert type... menu item.