Skip to content

Commit

Permalink
test wisvalid2
Browse files Browse the repository at this point in the history
  • Loading branch information
PalomoIFCA committed Feb 27, 2025
1 parent a3a66d1 commit 8e0afb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions QC.Sty/pyophidia/find_oph_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ def evaluate_workflow_path(candidates):
data = json.load(f)
print('read but not evaluated')
print(data.keys())
res, msg = ophclient.wisvalid(data)
res, msg = ophclient.wisvalid2(data)
print('read as a dict,and result')
except:
#try:
try:

data=dict(f.read())
print('2nds ways')
res, msg = ophclient.wisvalid(data)
#except:
res, msg = ophclient.wisvalid2(data)
except:
print('fail 2 read')
res= False
msg= 'Not readable workflow'
Expand Down

0 comments on commit 8e0afb9

Please sign in to comment.