Loads text-based files into a new table column from a column of URLs or full filepaths. Each file is added in its entirety to a single multi-line String cell in a new column added to the output table. The column can then be re-typed (e.g. to mol, mol2, PDB etc.) as required.
File encoding is attempted as follows when the ' Guess ' option is selected:
- Firstly, the URL connection to the supplied file is inspected for encoding information.
- If none is available, then the first 4 bytes of the file are inspected for any BOM present, and if so, the following are recognised: UTF-8, UTF-16 (Big- and Little Endian), UTF-32 (Big- and Little Endian)
- Finally, the default (UTF-8) is assumed. As UTF-8 is not required to provide a BOM, this is a reasonable guess in most cases.
This node was developed by Vernalis (Cambridge, UK) . For feedback and more information, please contact knime@vernalis.com