-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: Move DeepSSMTab file * fix: resolve type errors and fix styling in TabForm * fix: orientation marker cube should appear if not showing color scale * refactor: remove unused import in store methods * fix: change import of DeepSSMTab in Main view * refactor: ignore dev/yarn.env * refactor: remove terraform folder * refactor: remove references to CloudAMQP Gray * fix: use known dataset subset for download_upload_cycle test (increase reliability) * style: reformat test file * fix: prevent stopping GPU workers if deployment playbook is active * fix: Apply suggested changes to manage_workers.py * fix: issue #348 * feat: address issue #349 * style: reformat manage_workers.py * refactor: remove old files at shapeworks_cloud/core/shapeworks_interface * updating repo url * ci: add workflow_dispatch trigger to build-web action * update key * force a web build * set branch back to master * fix: remove version pins on django and allauth * fix: pin Django to 4.1 * fix: remove `--username` arg from createsuperuser commands --------- Co-authored-by: [email protected] <[email protected]>
- Loading branch information
Showing
33 changed files
with
88 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Build web app | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,4 +126,7 @@ dmypy.json | |
.terraform/ | ||
|
||
# Ansible | ||
ansible/roles | ||
ansible/roles | ||
|
||
# Yarn env | ||
dev/yarn.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VUE_APP_OAUTH_CLIENT_ID=Sn075ovzulH1SBTI6IwLM20G4b0Dh5Yj0FV3HNLb | ||
VUE_APP_OAUTH_CLIENT_ID=Sn075ovzulH1SBTI6IwLM20G4b0Dh5Yj0FV3HNLb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,11 @@ | |
# upload them all to the local server | ||
import filecmp | ||
import os | ||
import random | ||
from tempfile import TemporaryDirectory | ||
|
||
from swcc import models | ||
from swcc.api import swcc_session | ||
|
||
SAMPLE_SIZE = 3 | ||
|
||
|
||
def project_as_dict_repr(project): | ||
project_repr = dict(project) | ||
|
@@ -54,10 +51,16 @@ def public_server_download(download_dir): | |
with swcc_session() as public_server_session: | ||
public_server_session.login('[email protected]', 'cicdtest') | ||
all_datasets = list(models.Dataset.list()) | ||
tiny_tests = [d for d in all_datasets if 'tiny_test' in d.name] | ||
dataset_subset = ( | ||
random.sample(tiny_tests, SAMPLE_SIZE) if len(tiny_tests) >= SAMPLE_SIZE else tiny_tests | ||
) | ||
dataset_subset = [ | ||
d | ||
for d in all_datasets | ||
if d.name | ||
in [ | ||
'deep_ssm_femur_tiny_test', | ||
'ellipsoid_multiple_domain_tiny_test', | ||
'left_atrium_tiny_test', | ||
] | ||
] | ||
project_subset = [next(d.projects, None) for d in dataset_subset] | ||
for project in project_subset: | ||
if project is not None: | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.