making property to method
@@ -2694,12 +2694,11 @@ class ResourceFile(ResourceFileIRODSMixin):
return istorage.exists(self.resource_file.name)
# TODO: write unit test
- @property
def read(self):
if self.resource.is_federated:
- return self.fed_resource_file.read
+ return self.fed_resource_file.read()
else:
- return self.resource_file.read
+ return self.resource_file.read()
@property
def storage_path(self):
