Commit dcc2ed7a authored by alat-rights's avatar alat-rights
Browse files

fix logger exception

parent 9e715fc1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -906,8 +906,8 @@ class FASTALoader(DataLoader):
    try:
      self.charset = charsets[charset]
    except:
      logger.exception("charset is invalid. Charset must be "protein", "nucleic", or "ATCGN".")
    max_length = len(self.charset)
      logger.exception("charset is invalid. charset must be 'protein', 'nucleic', or 'ATCGN'.")
    max_length = len(self.charset)  # TODO: Figure out how to set max length

    self.user_specified_features = None
    if isinstance(featurizer, UserDefinedFeaturizer):