Skip to content

Commit

Permalink
MDE/PKFE-30 typos changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mantvydasdeltuva committed Sep 11, 2024
1 parent 3cf9a0e commit e89d083
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions app/back-end/src/routes/workspace_apply_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_workspace_apply_spliceai(relative_path):
{
"type": "info",
"message": f"Applying SpliceAI algorithm to '{relative_path}' with "
+ f"override: `{override}'...",
+ f"override: '{override}'...",
},
uuid,
sid,
Expand Down Expand Up @@ -109,7 +109,7 @@ def get_workspace_apply_spliceai(relative_path):
CONSOLE_FEEDBACK_EVENT,
{
"type": "errr",
"message": f"FileNotFoundError: {e} while SpliceAI applying algorithm "
"message": f"FileNotFoundError: {e} while applying SpliceAI algorithm"
+ f"{destination_path}",
},
uuid,
Expand All @@ -125,7 +125,7 @@ def get_workspace_apply_spliceai(relative_path):
CONSOLE_FEEDBACK_EVENT,
{
"type": "errr",
"message": f"PermissionError: {e} while SpliceAI applying algorithm "
"message": f"PermissionError: {e} while applying SpliceAI algorithm"
+ f"{destination_path}",
},
uuid,
Expand All @@ -141,7 +141,7 @@ def get_workspace_apply_spliceai(relative_path):
CONSOLE_FEEDBACK_EVENT,
{
"type": "errr",
"message": f"UnexpectedError: {e.message} while applying SpliceAI algorithm "
"message": f"UnexpectedError: {e.message} while applying SpliceAI algorithm"
+ f"{destination_path}",
},
uuid,
Expand Down Expand Up @@ -197,7 +197,7 @@ def get_workspace_apply_cadd(relative_path):
{
"type": "info",
"message": f"Applying CADD algorithm to '{relative_path}' with "
+ f"override: `{override}'...",
+ f"override: '{override}'...",
},
uuid,
sid,
Expand Down
12 changes: 6 additions & 6 deletions app/back-end/src/routes/workspace_download_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_workspace_download_lovd(relative_path):
{
"type": "info",
"message": f"Downloading LOVD data for gene '{gene}' to '{relative_path}' with "
+ f"override: `{override}'...",
+ f"override: '{override}'...",
},
uuid,
sid,
Expand Down Expand Up @@ -134,7 +134,7 @@ def get_workspace_download_lovd(relative_path):
)
return jsonify({"error": "An internal error occurred"}), 500

return jsonify({"message": "LOVD data downloaded successful"}), 200
return jsonify({"message": "LOVD data downloaded successfully"}), 200


@workspace_download_route_bp.route(
Expand Down Expand Up @@ -180,7 +180,7 @@ def get_workspace_download_clinvar(relative_path):
{
"type": "info",
"message": f"Downloading ClinVar data for gene '{gene}' to '{relative_path}' with "
+ f"override: `{override}'...",
+ f"override: '{override}'...",
},
uuid,
sid,
Expand Down Expand Up @@ -252,7 +252,7 @@ def get_workspace_download_clinvar(relative_path):
)
return jsonify({"error": "An internal error occurred"}), 500

return jsonify({"message": "CliVar data downloaded successful"}), 200
return jsonify({"message": "CliVar data downloaded successfullly"}), 200


@workspace_download_route_bp.route(
Expand Down Expand Up @@ -296,7 +296,7 @@ def get_workspace_download_gnomad(relative_path):
{
"type": "info",
"message": f"Downloading gnomAD data for gene '{gene}' to '{relative_path}' with "
+ f"override: `{override}'...",
+ f"override: '{override}'...",
},
uuid,
sid,
Expand Down Expand Up @@ -366,4 +366,4 @@ def get_workspace_download_gnomad(relative_path):
)
return jsonify({"error": "An internal error occurred"}), 500

return jsonify({"message": "gnomAD data downloaded successful"}), 200
return jsonify({"message": "gnomAD data downloaded successfullly"}), 200
4 changes: 2 additions & 2 deletions app/back-end/src/routes/workspace_merge_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_workspace_merge_lovd_gnomad(relative_path):
{
"type": "info",
"message": f"Merging LOVD and gnomAD data to '{relative_path}' with "
+ f"override: `{override}'...",
+ f"override: '{override}'...",
},
uuid,
sid,
Expand Down Expand Up @@ -204,7 +204,7 @@ def get_workspace_merge_lovd_clinvar(relative_path):
{
"type": "info",
"message": f"Merging LOVD and ClinVar data to '{relative_path}' with "
+ f"override: `{override}'...",
+ f"override: '{override}'...",
},
uuid,
sid,
Expand Down
6 changes: 3 additions & 3 deletions app/front-end/src/features/editor/utils/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ export const generateTimestamp = () => {
return (
now.getFullYear() +
'-' +
String(now.getMonth() + 1).padStart(2, '0') + // Months are zero-indexed
String(now.getMonth() + 1).padStart(2, '0') +
'-' +
String(now.getDate()).padStart(2, '0') +
'_' +
String(now.getHours()).padStart(2, '0') +
':' +
'-' +
String(now.getMinutes()).padStart(2, '0') +
':' +
'-' +
String(now.getSeconds()).padStart(2, '0')
);
};

0 comments on commit e89d083

Please sign in to comment.