-
Notifications
You must be signed in to change notification settings - Fork 26
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
Retain formatting of Display name for annotations and table column names #1330
Retain formatting of Display name for annotations and table column names #1330
Conversation
…klisted characters
In the schematic strategy meeting we talked about making 3 different choices from a single parameter. For example:
But this won't work bc of how they are called and used. Instead maybe make 3 parameters with explicit choices to cover all the schema label and display name options that will be available:
|
@mialy-defelice
I think this happened because when merging data frames to entity IDs in this line:
Even though
After the code runs successfully, I could see Also annotations of file looks like this: Without the With annotations like this: If I use From my perspective, one difficult thing is to understand how setting Potential TODos:
|
@linglp
Yes, Annotations do not currently have any parameters controlling formatting until the introduction of |
@linglp did you delete the UUID and entityId column? I should have added something to delete those columns |
@linglp I can confirm, I got the error you reported above when I forgot to delete the |
Quality Gate failedFailed conditions E Reliability Rating on New Code (required ≥ A) See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
@mialy-defelice Maybe not related to this PR, but I think that the submission of manifests through CLI is not working. I tried running:
I think that's because |
@linglp yes we did the fix in Dev a bit ago...bc it was accidentally made required at some point while this PR was in development. Lets hold off on testing this anyway since it will go in post refactor, so I'll need to merge that in ...sigh. |
@linglp this PR is ready to be tested again. |
Quality Gate failedFailed conditions E Reliability Rating on New Code (required ≥ A) See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Thanks @mialy-defelice . I am taking a look now.
Saw expected behavior of "sampleID" in annotation: and also the manifest table has the expected table names as expected.
can see annotation keys are using class labels too:
saw class label in annotations: I also ran |
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.
@mialy-defelice thanks for the hard work. I think it looks good.
Thank you @linglp!! |
Summary
Retain display name formatting when submitting manifests, for column labels on tables, and and adding annotations to linked files.
Note: the testing procedure has been updated to conform to new parameters designed and discussed in comments below
This is to address FDS-1199.
To test
Put these files and put into your new test dataset folder.
Filename
column to point to the new path the files are located in on synapseExample CLI command:
To
config.yml
:example.model.jsonld
Example API input:
Check outputs
sampleID
recorded as an annotation. If compared to the manifest, you will see that the-
's have been strippped along with the lowercase first letter.sample-I-D
bulkrna-seqassay_synapse_storage_manifest_table
in your project. Should see it has a column namedsampleID
.These changes are significant bc normally, names given would be
SampleID
.Delete annotations and table, then submit again with other options as described in the comment below this one.