Ran update-copyright.py
[hooke.git] / hooke / driver / mcs.py
index f8208c04aea545dbfe482eeec35ff48e68feada7..d96e2f6a6e33694dcc2c0d7fdd0086f324c02165 100644 (file)
@@ -1,4 +1,21 @@
-# Copyright
+# Copyright (C) 2009-2012 Allen Chen
+#                         Massimo Sandal <devicerandom@gmail.com>
+#                         W. Trevor King <wking@tremily.us>
+#
+# This file is part of Hooke.
+#
+# Hooke is free software: you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# Hooke is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with Hooke.  If not, see <http://www.gnu.org/licenses/>.
 
 """Driver for mcs fluorescence files.
 """
@@ -35,9 +52,6 @@ class mcsDriver(lib.driver.Driver):
         self.bluedata=self.filebluedata.read()
         self.filebluedata.close()
 
-        self.filetype = 'mcs'
-        self.experiment = 'smfluo'
-
     def close_all(self):
         self.filedata.close()
         self.filebluedata.close()
@@ -81,6 +95,8 @@ class mcsDriver(lib.driver.Driver):
         return plot
 
     def is_me(self):
+        if os.path.isdir(path):
+            return False
         if self.filename[-3:].lower()=='mcs':
             return True
         else: