You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main limitation of the current approach of defining the columns is that everything must be repeated when one is only interested in just changing one little detail. Here is an attempt to get around this...
We can define the columns through dictionaries, in which it is easier to override certain fields, while the rest is kept to the default. We can put this in iodata.xyz:
We can add optional arguments for load_one and dump_one in iodata.xyz to override these two defaults. For the case of column_settings, dictionary updates can be used, such that it becomes possible to modify just one setting in the defaults, without having to repeat everything. This would allow switching units for XYZ files as follows:
Make it easier for the user to change how a column is parsed. For example, change the units of coordinates from angstrom to bohr.
The text was updated successfully, but these errors were encountered: