From a2867f21a2a4ca178ec303d378d5cf967931ae7c Mon Sep 17 00:00:00 2001
From: Michael Zimmermann <michael.zimmermann@unibas.ch>
Date: Wed, 16 Nov 2022 10:28:44 +0100
Subject: [PATCH] Corrected Doc String of from_dataframe according to comments
 of Larissa

---
 tsg/main.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tsg/main.py b/tsg/main.py
index b4e9f07..9faa9e6 100644
--- a/tsg/main.py
+++ b/tsg/main.py
@@ -216,9 +216,11 @@ class Gtf:
         self.df = pd.concat([filter_df(chunk) for chunk in reader])
 
     def from_dataframe(self, df: pd.DataFrame) -> None:
-        """ Checks which columns belong to the free-text part of the GTF-file. 
-        
-        Checks if there are no columns called free-text and if so, sets the value of self.parsed to TRUE.
+        """ Initializes Gtf object from pandas Dataframe. 
+        Part of initialization is: 
+        Set dataframe attribute 
+        Check which columns belong to the free-text part of the GTF-file.
+        Check if there are no columns called free-text and if so, sets the value of parsed attribute to TRUE.
 
         Args:
             df: DataFrame
-- 
GitLab