-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace BasicEln #451
replace BasicEln #451
Conversation
4ee1f74
to
be74186
Compare
…orage in quantities
a287b39
to
22f5d07
Compare
4800eca
to
2eafea5
Compare
src/pynxtools/nomad/utils.py
Outdated
@@ -72,6 +72,7 @@ def __rename_nx_for_nomad( | |||
|
|||
if name and name.startswith("NX"): | |||
name = __REPLACEMENT_FOR_NX + name[2:] | |||
name = name[0].upper() + (name[1:] if len(name) > 1 else "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not name = name[:1].upper() + name[1:]
? I don't think we need the len check.
… m_set_attribute directly on the quantity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
@@ -36,7 +36,7 @@ jobs: | |||
- name: Install nomad | |||
if: "${{ matrix.python_version != '3.8' && matrix.python_version != '3.12'}}" | |||
run: | | |||
uv pip install nomad-lab@git+https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR.git | |||
uv pip install nomad-lab@git+https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR.git@Sprint_Nomad_BaseSection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shall eventually be reverted when the nomad branch is merged. We can do it here or later, as you wish.
No description provided.