Steven Rieder
Steven Rieder
It seems to be a circular import... from amuse.units import constants -> from amuse.units.derivedsi import * -> one = 1 | none -> (requires new_quantity) from amuse.units import quantities ->...
explicitly adding the 'km' input to units.py gives: ``` File ~/Code/amuse/src/amuse/units/units.py:4, in 2 from . import quantities 3 from amuse.units.si import * ----> 4 from amuse.units.derivedsi import km 5 from...
i.e. console cannot be used by ~units~quantities if this is to work... But it has to be of course.
'simple' is a fine strategy to use as default, but anything with preferred units cannot work as it is.
Happy to help if you are :)
Perhaps the easiest way is to not write yet another function for reading files, but to directly populate a Plonk snap object with values from an AMUSE particleset. What would...
@dmentipl any ideas on how this can/should be done?
Would it be possible to create a Plonk Snap object from a particle array that is already in memory, without writing to an HDF5 file and then reading that file...
of course, that would be fine. good luck with the writing!
It's quite likely .gitignore wasn't updated - at least not for vader.