Conversation
db19653 to
fdddf7a
Compare
a1f99f3 to
9fe94a5
Compare
47b97ee to
3cd2a8c
Compare
|
I fixed the attribute issue above in 3cd2a8c. Can you take a look and see if this is what you were thinking? Can you also take a look at the TODOs I put in lines 250 and 335 (same issue) and 462 of query.py and give me your opinion on those. When that is done, I can finally merge this PR :) Note:
|
no, let's remove it in a separate PR? This one is already so big and unwieldly, that I don't want to add anything that doesn't need to be here. |
Done in #517 |
line 250: I think it's actually fine to throw an error since only 1 chain identifier is needed to identify the chain where the variant is. If more are given then the user hasn't understood the purpose of One final thing: looking at those lines made me think about something I commented earlier about, but was lost someway. I think it should be clearer that Also, if there are more things to discuss let's just have a meeting because I have the impression that finding stuff in this PR is becoming very complex and inefficient ;) |
Have you looked at this also?
This is about error catching in
Clarified in 23357f0 |
prospector suddenly flagged a lot of code that wasnt touched here. Probably because I updated my local versions for prospector and pylint. I now also updated the versions in the toml to match my versions.
also list internal `QueryCollection` attributes in init also change "atomic" to "atom" to be consistent with "residue" when setting `resolution` also remove some TODOs and made some style improvements
In this PR:
Queryclass has been converted into a dataclass and all common arguments are defined in the parent class instead of the children.ProteinProteinInterfaceResidueQueryandProteinProteinInterfaceAtomicQuerywere merged into a single child dataclass ofQuery, as wereSingleResidueVariantResidueQueryandSingleResidueVariantAtomicQueryresolutionis now given as an attribute instead of being a separate class_get_atom_node_keyfunction_build_helpermethods.QueryCollectionat the bottom nowNot yet done:
build_atomic_graphandbuild_residue_graphfrom buildgraph.py (Refactor buildgraph module #506)radiusfromdistance_cutofffor PPI Queries (feature: separate max edge distance from interaction radius throughout #504)fixes: #480 and #490
Final TO DO list:
distance_cutoffvsradiusacross differentQueryclasses (see here)