Skip to content
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

Dom refactor tab loader #554

Closed
wants to merge 141 commits into from
Closed

Dom refactor tab loader #554

wants to merge 141 commits into from

Conversation

terazus
Copy link
Collaborator

@terazus terazus commented Mar 19, 2024

First pass at refactoring isa tab loader

proccaserra and others added 30 commits September 21, 2022 17:57
proccaserra and others added 29 commits February 23, 2024 17:11
Fix to determining JSON directory location.
The previous regex didn't match any DOI I tried. I found this one in a blog post from Crossref where they say it matched 74.4M out of 74.9M DOIs that they have seen. The post is here: https://www.crossref.org/blog/dois-and-matching-regular-expressions/
Since the DOI regex works now there are 2 fewer warnings. Previously it was warning about valid DOIs.
Testing changes to run on Windows.
The last changes were initially tested and created on Windows, but had errors on GitHub. I fixed those errors, but didn't retest on Windows. This has been tested on both and is problem free.
i_df and investigation_df are not a DataFrame as indicated in parameter typing or as the name would suggest. It's actually a dictionary of DataFrames and lists of DataFrames. I have renamed them to reflect this.
There were 2 tests that needed to be changed to match the new naming.
I started editing this function because of the "Only one protocol reference should be used in a Protocol REF column." message(s), but I found some other issues to address as well.
The messaging on the 2 checks dealing with study assays did not make it clear exactly which assay and which study had the issue. I changed the messaging so it clearly indicates the affected study and assay.
Fairly significant changes to check_protocol_fields
Changed messaging on study assays errors
@terazus terazus closed this Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants