Commit 145edd41 authored by alat-rights's avatar alat-rights
Browse files

changed default protein to False ie. assume sequences are RNA. This is to...

changed default protein to False ie. assume sequences are RNA. This is to maintain backwards compatibility
parent f61da4a2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -875,7 +875,7 @@ class FASTALoader(DataLoader):
  learning tasks.
  """

  def __init__(self, featurizer: Featurizer = OneHotFeaturizer, protein = True):
  def __init__(self, featurizer: Featurizer = OneHotFeaturizer, protein = False):
    """Initialize FASTALoader.

    Parameters
@@ -883,7 +883,7 @@ class FASTALoader(DataLoader):
    featurizer: Featurizer (default: OneHotFeaturizer)
      The Featurizer to be used for the loaded FASTA data.

    protein: bool (default: True)
    protein: bool (default: False)
      Whether or not the sequence passed in is a protein sequence. If False,
      it is treated as a nucleic acid sequence.
    """