You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I put the code inside the lalboard.py script (without the relative_import of course), then it works from vscode...
What's up with this naming convention from Fusion? Can't I just open the port for API usage in Fusion without this undocumented correlation between file name and script name...
The text was updated successfully, but these errors were encountered:
Hmm. My primary mode of running the scripts is via the fusionIdea plugin. I've tried to make running something from fusionIdea as similar as possible to how it would be run if it were added as a script in fusion's "scripts and add-ins" UI. But it's possible there are differences, especially when you start getting into more advanced/non-standard module scenarios like this.
If you figure out how to get it to work, I'd be happy to accept a pull request for some docs with your findings, as you mentioned. Or if you find a better way to do the import of lalboard.py, I'm all ears :).
Definitely not a lalboard issue but I may do a pull request for docs if I make this run.
If I try to run a script named lalboard from vscode and then try to debug a test one like this:
test.py:
It doesn't work.
If I put the code inside the lalboard.py script (without the relative_import of course), then it works from vscode...
What's up with this naming convention from Fusion? Can't I just open the port for API usage in Fusion without this undocumented correlation between file name and script name...
The text was updated successfully, but these errors were encountered: