Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
- Delete: unused import
- Add: todo comments
  • Loading branch information
joeflack4 committed May 21, 2024
1 parent ae8808d commit e72bed4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/scripts/deprecated_in_mondo.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def deprecated_in_mondo_docs():
# Create pages & build stats
stats_rows: List[Dict] = []
for path in paths:
# todo: duplicated code fragment w/ slurp_docs()
ontology_name = os.path.basename(path).replace(FILENAME_GLOB_PATTERN[1:], '')
ontology_page_relpath = f'./mapped_deprecated_{ontology_name.lower()}.md'
df = pd.read_csv(path, sep='\t').fillna('')
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from typing import Dict, List, Set

import pandas as pd
import yaml
from jinja2 import Template
from oaklib.implementations import ProntoImplementation
from oaklib.types import CURIE, URI
Expand Down Expand Up @@ -151,6 +150,7 @@ def slurp_docs():
# Create pages & build stats
stats_rows: List[Dict] = []
for path in paths:
# todo: duplicated code fragment w/ deprecated_in_mondo_docs()
ontology_name = os.path.basename(path).replace(FILENAME_GLOB_PATTERN[1:], '')
ontology_page_relpath = f'./migrate_{ontology_name.lower()}.md'
df = pd.read_csv(path, sep='\t').fillna('')
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/sync_subclassof.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,4 +500,4 @@ def run_defaults(use_cache=True): # todo: #remove-temp-defaults

if __name__ == '__main__':
cli()
#run_defaults() # TODO temp
#run_defaults() # todo: #remove-temp-defaults

0 comments on commit e72bed4

Please sign in to comment.