Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No.203]Workflow を新しいIDでcopy する機能 #487

Open
5 of 7 tasks
tsuchiyama-araya opened this issue Nov 21, 2024 · 1 comment · May be fixed by #496
Open
5 of 7 tasks

[No.203]Workflow を新しいIDでcopy する機能 #487

tsuchiyama-araya opened this issue Nov 21, 2024 · 1 comment · May be fixed by #496
Assignees
Labels
enhancement New feature or request

Comments

@tsuchiyama-araya
Copy link
Collaborator

tsuchiyama-araya commented Nov 21, 2024

【内容】

実装画面 → RECORD画面

「RUN ALL」を実行すれば同じワークフローを作成できることは理解しているが、再実行が必要なため時間がかかる。
そのため、実行状態を保持したまま、新しいIDや名前でワークフローをコピーできる機能が欲しい。
Reproduce機能の一つのオプションとして実装するのが適切だと思われる。
→ 右上のDeleteボタンの横に「Duplicate」ボタンを追加する。

【実装流れ】

  • 資料作成(デザイン、実装提案)
  • 上司に実装提案のレビュー
  • 実装する
  • テストを実施

完了条件

  • Duplicateボタンが確認できる
  • Duplicateボタンをクリックすると、新しいIDで同じWorkflowを作成できる
  • 内部レビューの完了
@tsuchiyama-araya tsuchiyama-araya added the enhancement New feature or request label Nov 21, 2024
@tsuchiyama-araya tsuchiyama-araya self-assigned this Nov 21, 2024
@tsuchiyama-araya tsuchiyama-araya changed the title workflow を新しいIDでcopy する機能 Workflow を新しいIDでcopy する機能 Nov 21, 2024
@itutu-tienday itutu-tienday changed the title Workflow を新しいIDでcopy する機能 [203]Workflow を新しいIDでcopy する機能 Nov 26, 2024
@itutu-tienday itutu-tienday changed the title [203]Workflow を新しいIDでcopy する機能 [No.203]Workflow を新しいIDでcopy する機能 Dec 2, 2024
@tsuchiyama-araya
Copy link
Collaborator Author

suite2p のCopyは完了

【問題】

  • CaimanのCopyは失敗

caiman_mc

Traceback (most recent call last):

  File "/app/studio/app/common/core/rules/runner.py", line 48, in run
    output_info = cls.execute_function(

  File "/app/studio/app/common/core/rules/runner.py", line 134, in execute_function
    output_info = func(

  File "/app/studio/app/optinist/wrappers/caiman/motion_correction.py", line 100, in caiman_mc
    shutil.move(mmap_file, mmap_output_dir)

  File "/app/.snakemake/conda/50197191c5309552067cdbe522d3702d_/lib/python3.8/shutil.py", line 789, in move
    raise Error("Destination path '%s' already exists" % real_dst)

shutil.Error: Destination path '/app/studio_data/output/24/a26d32ee/caiman_mc_p4f6nsi9bh/mmap/sample_mouse2p_image_rig__d1_128_d2_128_d3_1_order_F_frames_2000_.mmap' already exists

caiman_cnmf

Traceback (most recent call last):

  File "/app/studio/app/common/core/rules/runner.py", line 34, in run
    input_info = cls.read_input_info(__rule.input)

  File "/app/studio/app/common/core/rules/runner.py", line 155, in read_input_info
    assert PickleReader.check_is_valid_node_pickle(

AssertionError: Invalid node input data content. [/app/studio_data/output/24/a26d32ee/caiman_mc_p4f6nsi9bh/caiman_mc.pkl]

pca

Traceback (most recent call last):

  File "/app/studio/app/common/core/rules/runner.py", line 34, in run
    input_info = cls.read_input_info(__rule.input)

  File "/app/studio/app/common/core/rules/runner.py", line 155, in read_input_info
    assert PickleReader.check_is_valid_node_pickle(

AssertionError: Invalid node input data content. [/app/studio_data/output/24/a26d32ee/caiman_cnmf_qcjcwx9uq7/caiman_cnmf.pkl]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant