Open hertznek opened 1 year ago
Thanks for your feedback. It is appreciated, even though this reply is super delayed.
We need to update the base installation (without docker). The gui-config
step is not necessary anymore and the command was removed.
The issue about the example parser not working is something we need to fix. There have been some breaking changes in nomad-lab
not reflected in the example parser. I opened an issue our internal gitlab: https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/issues/1723
The parser timing is that bad unfortunately. The import structure needs to be optimised. At the moment we are converting all application definitions (50+) to the NOMAD schema language on the fly. This is only happening once on import. The actual parsing is much quicker, e.g. when many files are processed in a loop or something. You can run the parser programatically: https://nomad-lab.eu/prod/v1/staging/docs/apis/local_parsers.html#from-a-python-program
Hello,
I am trying to follow the online documentations available at https://nomad-lab.eu, among other things for getting a NOMAD Oasis running as well as using/developing a parser.
NOMAD I couldn't manage to get a
base installation
(without Docker); I followed the instructions here, and everything went fine untill the end, in the sectionRunning NOMAD
, wherenomad admin ops gui-config
complains aboutgui-config
:Also, right after that, it mentions
To run NOMAD, you must run two services. One is the NOMAD app, it serves the API and GUI:
, but the box underneath (where there should be a command to run) is empty.Parsers Following How to write a parser, installed the example parser with
pip install -e .
, and then running the examplepython -m exampleparser tests/data/example.out
led to an error:In this environment, there is
nomad-lab, nomad-lab[parsing], nomad-lab[dev]
andnomad-lab[infrastructure]
installed (possibly most are not needed, but they are there).Environment
Other parsing questions Slightly offtopic, but I also tried using the parser available in the NOMAD package i.e.
nomad parse [...]
with a NeXus/HDF5 file (parsing an HDF5 file is the end goal). The example file is available in the NeXus Format website, in particular simple_example_write1.hdf5.After changing the extension to
nxs
(otherwise the parser complains about unknown format), it seems to be correctly parsed. The file sizes are:Running the parser:
Is that timing expected, or is there potentially something wrong in my installation/environment?
Thanks in advance.
PS: In case it may be useful: using a
conda environment
,pip install nomad-lab
only worked under Python 3.9 (tested 3.8, 3.10, 3.11, all of them issued one error at some point, either withnomad-lab
ornomad-lab[parsing]
). With apython virtualenv
,python 3.10
also issued an error installingnomad-lab[parsing]
(did not try other python versions). I can provide the error logs if they are relevant.