-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bacpop-186 v9 db support #48
base: main
Are you sure you want to change the base?
Conversation
…op/beebop_py into bacpop-186-v9-db-support
…op/beebop_py into bacpop-186-v9-db-support
…op/beebop_py into bacpop-186-v9-db-support
…op/beebop_py into bacpop-186-v9-db-support
…op/beebop_py into bacpop-186-v9-db-support
…nhance unit tests for query graph functionality
This reverts commit 465a54f.
…hod in PoppunkFileStore
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.
This looks good to me, but I'm a bit unsure about what some of the changes are - I expect they're mostly just new requirements of the poppunk version? Maybe we could have a quick call tomorrow to go over them?
Looks good on beebop-dev - network task seems to be working (for strep)..?
@@ -118,6 +118,13 @@ def output_network(self, p_hash) -> str: | |||
""" | |||
return str(PurePath(self.output(p_hash), "network")) | |||
|
|||
def parital_query_graph(self, p_hash) -> str: |
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.
def parital_query_graph(self, p_hash) -> str: | |
def partial_query_graph(self, p_hash) -> str: |
@@ -118,6 +118,13 @@ def output_network(self, p_hash) -> str: | |||
""" | |||
return str(PurePath(self.output(p_hash), "network")) | |||
|
|||
def parital_query_graph(self, p_hash) -> str: |
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.
How is this addition related to the new DB?
recalculate_distances=self.args.visualise.recalculate_distances, | ||
use_partial_query_graph=self.fs.parital_query_graph(self.p_hash), | ||
tmp=self.fs.tmp(self.p_hash) |
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.
These are all new parameters required by latest poppunk version?
) | ||
|
||
# try to do in 1 call just add --cytoscape |
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.
Is this comment obsolete?
"stable": null, | ||
"use_full_network": false |
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.
Are these new properties required by poppunk, or just related to this particular version?
@@ -31,116 +31,6 @@ def get_args() -> SimpleNamespace: | |||
NODE_SCHEMA = ".//{http://graphml.graphdrawing.org/xmlns}node/" | |||
|
|||
|
|||
def generate_mapping( |
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.
Why do we not need this any more?
DO NOT MERGE UNTIL POPUNK fix for network is up In Poppunk v2.7.3 |
This PR updates poppunk to version 2.7.1, which now supports full v9 database. The updates in beebop_py is to account for these changes.
Testing:
The best way to test this is to use the branch in bacpop/beebop#83 (bacpop-201-stream-microreact) and then run this branch locally (ensure you install poppunk version 2.7.1) and then change
dbname
field for pnuemo inargs.json
toGPS_v9
. You can now run an analysis from beebop and it should all work..Side note: I will also put this up on https://beebop-dev.dide.ic.ac.uk/ so you can test their if it is easier.