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

wisvalid issues #44

Open
PalomoIFCA opened this issue Jul 3, 2024 · 0 comments
Open

wisvalid issues #44

PalomoIFCA opened this issue Jul 3, 2024 · 0 comments

Comments

@PalomoIFCA
Copy link

Hello, I am trying to use wisvalid to validate some workflows but I have some issues.

wisvalid requires a dict or a string representing the workdlow, I sue the first one here
https://ophidia.cmcc.it/documentation/1.3/users/workflow/workflow_basic.html

I load it with python and I am able to parse it as a dict via json.loads(), when i use wisvalid to validate it crahses the prgram because of this line in client.py

checked_workflow = re.sub(re.compile(r"/\*.*?\*/|//.*?\n", re.DOTALL), "\n", workflow)

If I use wisvalid with the string directly later wisvalid is not able to interpret the string as a dict because of the changes made by the previous line of code

Any help ? Am I doing something wrong?

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

No branches or pull requests

1 participant