-
Notifications
You must be signed in to change notification settings - Fork 0
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
Could we drop the parenthetical portion of the cur_land_use permissible values? #60
Comments
I'm good with it. Maybe put the text that's in the () in the display hint? @turbomam let me know if you need anything else from me |
Excellent
@cmungall and I discussed this informally in the past and he didn't explicitly object. But yes, it would be good to get explicit sign-off. I would move any column for a slot whose permissible values were changed into the MiXS (modified) section, but that wouldn't make it explicit that the permissible values in the enumeration have been changed. I also intend to raise this as an issue with GSC. |
2023-05-18: yes, remove the parenthetical portions form the PV texts put the parenthetical examples as annotations on the permissible values |
I am going to do this manually now and make an issue for a better approach in the future. See |
The PV are not asserted in They are inherited via local/with_shuttles.yaml: local/from_schemasheets.yaml \
sheets_and_friends/tsv_in/import_slots_regardless.tsv
$(RUN) do_shuttle \
--config_tsv $(word 2,$^) \
--recipient_model $(word 1,$^) \
--yaml_output [email protected] |
@turbomam does this mean this issue is done (manually) and can be closed? |
No, still in progress |
The nmdc-schema build process does customize the cur_land_use_enum now. That has been propagated to the submission-schema ... ... and can be seen in the 'current land use' column in the submission schema playground I think @pkalita-lbl and I have to make releases of those two schemas and hand that work off to the Submission Portal people. In the long run, we have been talking bout having more automation with respect to that build/release/handoff process. |
Note that since the examples (like 'pine') have been broken out of the permissible value names (like |
Based on recent comments assuming this is active, moving to new sprint. @turbomam |
This GH issue is over 1 year old. @turbomam does this question still need to be answered? What's the goal for this issue? |
@turbomam is the only thing left to go here to get this into prod on the submission portal? |
The updated schema is on dev. Is there an expectation that we modify existing submissions in the portal to match the new values? So, for example, if an in-progress submission uses "crop trees (nuts,fruit,christmas trees,nursery trees)", change it to "crop trees" for them? |
@pkalita-lbl good question! Will keeping it as "crop trees (nuts,fruit,christmas trees,nursery trees)" validate? cause issues downstream / with database transforming and sharing? |
No, without writing a migration once the new version of the submission schema is brought into the portal old submissions with "crop trees (nuts,fruit,christmas trees,nursery trees)" in them already will not validate anymore. It could potentially confuse the submission-portal-to-Mongo pipeline, but we wouldn't run that on a submission that doesn't validate in the first place. Since the migration logic is quite straightforward (replace these old values with these new values) in this case I'll go ahead and include it when I bring the latest submission schema into the portal. |
This is moving through the system as part of microbiomedata/nmdc-server#992 |
Closing this based on @pkalita-lbl last comment. |
I have code that ignores the parenthetical portion when mapping to EnvO terms, but even displaying them in the DH pulldowns is awkward
The text was updated successfully, but these errors were encountered: