-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve user interface #117
Conversation
20a601e
to
8acc9f8
Compare
8acc9f8
to
7f8b7b9
Compare
Hi @eladrion, this is the PR I was talking about, please feel free to leave any comments or questions. Thanks! |
src/main/java/nl/uu/cs/ape/models/sltlxStruc/SLTLxVariable.java
Outdated
Show resolved
Hide resolved
src/main/java/nl/uu/cs/ape/models/templateFormulas/SLTLxTemplateFormula.java
Outdated
Show resolved
Hide resolved
Hi @vedran-kasalica , I took a brief look on the PR, see my comments above. Best, Mario |
Thank you Mario, I had a quick look and you left quite detailed and relevant comments! I will come back to them later this week |
…used repo was renamed
throw new NullPointerException("File or content set cannot be null."); | ||
} | ||
|
||
try (BufferedWriter writer = new BufferedWriter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The writer is instantiated in this method, appendToFile (base case) and appendToFile (CNFClause case) identically. Just an idea: If you implement a function which opens the file (if it exists and excepts otherwise) and writes a list of strings in append mode to the file, you could reuse that function and restrict the current functions to checking whether the encoding/content is non-null. Also, the current functions would have to provide a list of strings to the new function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything fine now, can be integrated
This PR refactors parts of the codebase, improving the
bio.tools
API, which is now exposed at the CLI level. Users can generate APE annotations directly frombio.tools
. Additionally, it introduces two new constraint templates that proved useful in generating workflows within the Workflomics project. Finally, I simplified the GitHub templates to lower the threshold for creating PRs and Issues.Key updates:
bio.tools
APIbio.tools
API at the CLI levelOn a technical side, the constraint templates are explicitly encoded in CNF, unlike parsed SLTLx formulas. The plan is to start using logical constructs when defining the templates as well, but I didn't get a chance to do that yet. For the reference, the logical constructs were introduced with v2.0.