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

Fixes coming from the openDS public review #7

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

@samleeflang samleeflang marked this pull request as ready for review September 20, 2024 12:00
app/routes.py Outdated
Comment on lines 479 to 481
terms['examples'] = terms['examples'].str.replace(r'"', '').replace("'", "").replace("[", "").replace("]", "")
terms['enum'] = terms['enum'].str.replace(r'"', '').replace("'", "").replace("[", "").replace("]", "")
terms['definition'] = terms['definition'].str.replace(r'"', '').replace("'", "").replace("[", "").replace("]", "")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make a function out of this as you are repeating the same action three times

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the logic for definition as this is never an array

Comment on lines +70 to +80
<tr>
<th scope="row">Controlled Vocabulary</th>
<td>
<ul class="td-list">
{% for item in list1 %}
<li><span>{{ item }}</span></li>
{% endfor %}
</ul>

</td>
</tr>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know how this should look but often and elements are stored in separate (table rows)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm took this over from Latimer Core only made some small changes to it. Would like to keep this for now

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand, just a generic HTML thing that is possible, but not recommended

Copy link

@southeo southeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥧

app/data/opends/annotation-termlist.csv Outdated Show resolved Hide resolved
app/routes.py Outdated Show resolved Hide resolved
app/data/opends/data-mapping-termlist.csv Outdated Show resolved Hide resolved
app/data/opends/digital-media-termlist.csv Outdated Show resolved Hide resolved
app/data/opends/digital-media-termlist.csv Show resolved Hide resolved
app/data/opends/digital-media-termlist.csv Show resolved Hide resolved
app/data/opends/digital-specimen-termlist.csv Outdated Show resolved Hide resolved
Copy link

@southeo southeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛞
One outstanding comment, not blocking

@samleeflang samleeflang merged commit c2813e3 into main Oct 7, 2024
1 check passed
@samleeflang samleeflang deleted the feature/opends-review branch October 7, 2024 12:53
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