Skip to content

Commit 55dfdca

Browse files
committed
sciencemesh: formatting
1 parent 6003b4a commit 55dfdca

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

app/vres/sciencemesh.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ def create_ocm_share_request(self):
5959
"sender": sender_userid,
6060
"resourceType": "ro-crate",
6161
"shareType": "user",
62-
"protocol": {"name": "multi", "embedded": {"payload": self.crate.metadata.generate()}},
62+
"protocol": {
63+
"name": "multi",
64+
"embedded": {"payload": self.crate.metadata.generate()},
65+
},
6366
}
6467
return ocm_share_request
6568

test/sciencemesh/test_sciencemesh_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from rocrate.rocrate import ROCrate
1313

1414
# Add the app directory to Python path to import VREScienceMesh
15-
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '../..'))
15+
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))
1616
sys.path.insert(0, project_root)
1717

1818
from app.vres.base_vre import vre_factory

0 commit comments

Comments
 (0)