Skip to content

Questions regarding small improvements #33

Answered by JonasSchaub
hannbus asked this question in Q&A
Discussion options

You must be logged in to vote
  • What to write for the return value in the method head if the method returns a figure or a pandas dataframe? If I put in the type of the return value for example 'pandas.core.series.Series' I get a warning that pandas is not defined and pytest throws an error collecting the tests.

Since you import pandas as pd, maybe try pd.core.series.Series? And matplotlib.figure probably does not work because matplotlib itself is not imported?

  • For the scaffold analysis there is a naming problem: for now I used scaffold (+ terminal atoms), framework (- terminal atoms), and skeleton (only single bonds and C atoms). But the function is called 'draw_most_frequent_scaffolds' and in the function I used …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by JonasSchaub
Comment options

hannbus
Sep 28, 2022
Collaborator Author

You must be logged in to vote
2 replies
@Kohulan
Comment options

@hannbus
Comment options

hannbus Sep 30, 2022
Collaborator Author

Comment options

You must be logged in to vote
1 reply
@hannbus
Comment options

hannbus Sep 30, 2022
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants