Unnecessary source code in a tutorial
igorsdub opened this issue · 1 comments
igorsdub commented
Describe the documentation issue
A little issue with a PDB tutorial on the BioPandas website. Unnecessary code lines is present at the beginning of the tutorial:
import pandas as pd
import numpy as np
import sys
import gzip
from warnings import warn
try:
from urllib.request import urlopen
from urllib.error import HTTPError, URLError
except ImportError:
from urllib2 import urlopen, HTTPError, URLError # Python 2.7 compatible
from biopandas.pdb.engines import pdb_records
from biopandas.pdb.engines import pdb_df_columns
from biopandas.pdb.engines import amino3to1dict
import warnings
from distutils.version import LooseVersion
class PandasPdb(object):
"""
Object for working with Protein Databank structure files.
...
def parse_sse(self):
"""Parse secondary structure elements"""
ppdb = PandasPdb().fetch_pdb('3eiy')
ppdb.df
Suggest a potential improvement or addition
Delete the PandasPdb class source code from this section.
Thank you!
rasbt commented
Ooops, good catch. Must have left it in there by accident. Should be fixed now. Thanks!