@@ -31,8 +31,8 @@ class WgsRawSeqSet(Base):
3131
3232 def __init__ (self ):
3333 """
34- Constructor for the WgsRawSeqSet class. This initializes the fields specific
35- to the WgsRawSeqSet class, and inherits from the Base class.
34+ Constructor for the WgsRawSeqSet class. This initializes the fields
35+ specific to the WgsRawSeqSet class, and inherits from the Base class.
3636
3737 Args:
3838 None
@@ -176,8 +176,7 @@ def comment(self):
176176 @enforce_string
177177 def comment (self , comment ):
178178 """
179- The setter for the comment field. The comment must be a string,
180- and less than 512 characters.
179+ The setter for the comment field. The comment must be a string.
181180
182181 Args:
183182 comment (str): The new comment to add to the string.
@@ -191,8 +190,10 @@ def comment(self, comment):
191190
192191 @property
193192 def exp_length (self ):
194- """ int: The number of raw bases or color space calls expected for the read,
195- includes both mate pairs and all technical portions. """
193+ """
194+ int: The number of raw bases or color space calls expected for the read,
195+ includes both mate pairs and all technical portions.
196+ """
196197 self .logger .debug ("In 'exp_length' getter." )
197198
198199 return self ._exp_length
@@ -217,7 +218,9 @@ def exp_length(self, exp_length):
217218
218219 @property
219220 def format (self ):
220- """ str: The file format of the sequence file """
221+ """
222+ str: The file format of the sequence file.
223+ """
221224 self .logger .debug ("In 'format' getter." )
222225
223226 return self ._format
@@ -244,7 +247,9 @@ def format(self, format_str):
244247
245248 @property
246249 def format_doc (self ):
247- """ str: URL for documentation of file format. """
250+ """
251+ str: URL for documentation of file format.
252+ """
248253 self .logger .debug ("In 'format_doc' getter." )
249254
250255 return self ._format_doc
@@ -267,7 +272,9 @@ def format_doc(self, format_doc):
267272
268273 @property
269274 def local_file (self ):
270- """ str: URL to the local file to upload to the server. """
275+ """
276+ str: URL to the local file to upload to the server.
277+ """
271278 self .logger .debug ("In local_file getter." )
272279
273280 return self ._local_file
@@ -423,11 +430,11 @@ def required_fields():
423430
424431 def _get_raw_doc (self ):
425432 """
426- Generates the raw JSON document for the current object. All required fields are
427- filled into the JSON document, regardless they are set or not. Any remaining
428- fields are included only if they are set. This allows the user to visualize
429- the JSON to ensure fields are set appropriately before saving into the
430- database.
433+ Generates the raw JSON document for the current object. All required
434+ fields are filled into the JSON document, regardless they are set or
435+ not. Any remaining fields are included only if they are set. This
436+ allows the user to visualize the JSON to ensure fields are set
437+ appropriately before saving into the database.
431438
432439 Args:
433440 None
@@ -478,9 +485,9 @@ def _get_raw_doc(self):
478485 def search (query = "\" wgs_raw_seq_set\" [node_type]" ):
479486 """
480487 Searches the OSDF database through all WgsRawSeqSet node types. Any
481- criteria the user wishes to add is provided by the user in the query language
482- specifications provided in the OSDF documentation. A general format
483- is (including the quotes and brackets):
488+ criteria the user wishes to add is provided by the user in the query
489+ language specifications provided in the OSDF documentation. A general
490+ format is (including the quotes and brackets):
484491
485492 "search criteria"[field to search]
486493
@@ -492,8 +499,8 @@ def search(query = "\"wgs_raw_seq_set\"[node_type]"):
492499 WgsRawSeqSet node type.
493500
494501 Returns:
495- Returns an array of WgsRawSeqSet objects. It returns an empty list if
496- there are no results.
502+ Returns an array of WgsRawSeqSet objects. It returns an empty list
503+ if there are no results.
497504 """
498505 module_logger .debug ("In search." )
499506
@@ -563,15 +570,16 @@ def load_wgsRawSeqSet(seq_set_data):
563570 @staticmethod
564571 def load (seq_set_id ):
565572 """
566- Loads the data for the specified input ID from the OSDF instance to this object.
567- If the provided ID does not exist, then an error message is provided stating the
568- project does not exist.
573+ Loads the data for the specified input ID from the OSDF instance to
574+ this object. If the provided ID does not exist, then an error message
575+ is provided stating the project does not exist.
569576
570577 Args:
571578 seq_set_id (str): The OSDF ID for the document to load.
572579
573580 Returns:
574- A WgsRawSeqSet object with all the available OSDF data loaded into it.
581+ A WgsRawSeqSet object with all the available OSDF data loaded into
582+ it.
575583 """
576584 module_logger .debug ("In load. Specified ID: %s" % seq_set_id )
577585
0 commit comments