Skip to content

Commit

Permalink
testing for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
PalomoIFCA committed Feb 27, 2025
1 parent a75a439 commit c4bfde5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion QC.Sty/pyophidia/find_oph_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,18 @@ def evaluate_workflow_path(candidates):
for jsons in candidates:
try:
f = open(str(jsons), "r")
print(f.readlines())
data = json.load(f)
print('tead but not evaluated')
res, msg = ophclient.wisvalid(data)
print('read as a dict,and result')
except:
try:

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

0 comments on commit c4bfde5

Please sign in to comment.