Commit 5a395429 authored by alat-rights's avatar alat-rights
Browse files

make charset non-optional

parent dd1fb5b8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -903,7 +903,10 @@ class FASTALoader(DataLoader):
      "ATCGN": ('A', 'T', 'C', 'G', 'N')
    }

    self.charset = charsets.get(charset)
    try:
      self.charset = charsets[charset]
    except:
      logger.exception("charset is invalid. Charset must be "protein", "nucleic", or "ATCGN".")
    max_length = len(self.charset)

    self.user_specified_features = None