Skip to content

Commit

Permalink
throwing exeptions removal
Browse files Browse the repository at this point in the history
  • Loading branch information
sahar-frikha committed Aug 17, 2022
1 parent 5cc35c4 commit e2f2f2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/profile_generation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def get_previous_version(path_changed_file):
mypath=path_changed_file.split('/')[0]+"/"+path_changed_file.split('/')[1]
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))]

max=0
for f in onlyfiles:
max=0
if f.split('_')[1].split('-')[1].split('.')[0]=="DRAFT":
if int(f.split('_')[1].split('-')[0].split('.')[1]) > max:
max = int(f.split('_')[1].split('-')[0].split('v')[1].split('.')[0]+f.split('_')[1].split('-')[0].split('.')[1])
Expand All @@ -111,8 +111,8 @@ def get_previous_release(path_changed_file):
mypath=path_changed_file.split('/')[0]+"/"+path_changed_file.split('/')[1]
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))]

max=0
for f in onlyfiles:
max=0
if f.split('_')[1].split('-')[1].split('.')[0]=="RELEASE":
if int(f.split('_')[1].split('-')[0].split('.')[0].split('v')[1]) > max:
max = int(f.split('_')[1].split('-')[0].split('.')[0].split('v')[1])
Expand Down
2 changes: 1 addition & 1 deletion Taxon/jsonld/Taxon_v0.7-DRAFT.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"@id": "bioschemasdrafts:Taxon",
"@type": "rdfs:Class",
"rdfs:comment": "a Bioschemas prsssofile hgfhgfh desiiiicribing a htyrty taxon This profile aims to denote a taxon by common properties such as its scientific name, taxonomic rank and vernacular names. It is also a means to link to existing taxonomic registers where each taxon has a URI. <br/>Changes in 0.7: <ul><li>Use of identifier to add the taxon id within well known authorities (NCBI id, GBIF id, EoL id etc.)</li><li>Add property isBasedOn</li><li>Add properties scientificName and alternateScientificName to link the Taxon to TaxonName instances</li></ul> Version: 0.7-DRAFT",
"rdfs:comment": "a Bioschemas prsssofile ddd desiiiicribing a htyrty taxon This profile aims to denote a taxon by common properties such as its scientific name, taxonomic rank and vernacular names. It is also a means to link to existing taxonomic registers where each taxon has a URI. <br/>Changes in 0.7: <ul><li>Use of identifier to add the taxon id within well known authorities (NCBI id, GBIF id, EoL id etc.)</li><li>Add property isBasedOn</li><li>Add properties scientificName and alternateScientificName to link the Taxon to TaxonName instances</li></ul> Version: 0.7-DRAFT",
"schema:schemaVersion": [
"https://bioschemas.org/profiles/Taxon/0.7-DRAFT"
],
Expand Down

0 comments on commit e2f2f2c

Please sign in to comment.