Which causes the following code to evaluate __doc__ to None.
(venv) kinow@ranma:~/Development/python/workspace/janis-bioinformatics$ python
Python 3.8.3 (default, May 19 2020, 18:47:26)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from janis_bioinformatics.tools.babrahambioinformatics.fastqc.versions import FastqcSingleScattered
RDFLib Version: 6.0.0
>>> FastqcSingleScattered.__doc__
>>> FastqcSingleScattered.__doc__ is None
True
>>>
Unfortunately I am not aware of a workaround for this.
I was going to suggest to reduce code duplication in that class by re-using __doc__ in the bind_metadata function, then realized it was always None, and found the Python bug above.
Hi,
f-strings are not valid
__doc__
's: https://bugs.python.org/issue28739Which causes the following code to evaluate
__doc__
toNone
.Unfortunately I am not aware of a workaround for this.