System: Win 10
Version: 5.0.2
Hello,
I’m new to 3DSlicer, I developed a python scripted extension, which is for computing the percentage of colocalization(Spatial overlap between different channels) of Z-stack TIFF images.
I followed the steps provided in the Distribute an extension section to submit my extension to the extension index.
Since I want to make the extension appear in the latest stable version of the slicer, I chose to upload my extension description (s4ext) file to the 5.0 branch on the Slicer Extensions Index page.
#!/bin/bash -eo pipefail
if [[ $CIRCLE_PULL_REQUEST != "" ]]; then
for base_branch in origin/master $(git branch -r | grep -E "origin\/[0-9](\.[0-9])+" | sort -r); do
differences=$(git diff $base_branch --name-only)
if [[ $differences != "" ]]; then
break
fi
done
else
base_branch=$CIRCLE_BRANCH
fi
echo "export BASE_BRANCH=\"$base_branch\"" >> $BASH_ENV
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Exited with code exit status 128
CircleCI received exit code 128
Are there any specific solutions and suggestions?
Really appreciate your help in advance!
We just switched over from changing the main branch name from master to main yesterday. Maybe you got the error message because of that. You now need to create a pull request to merge into the main branch.
Switch to the main branch on my forked repository and click the “Upload Files” button to upload my extension description (s4ext) file.
Create a pull request
Is that correct for me to make the extension appear in the latest stable version of the slicer(5.0)?
In addition, do I also need to change the ‘scmrevision’ in my extension description (s4ext) file from 5.0 to main?
Thank you!
Hello @lassoan,
Thank you very much for your help and affirmation! First of all, I’ll get back to you after consulting with my supervisor about the license issue, and I’ll follow your tips to address those few tweaks. Also, I really willing to learn how to make the computation faster during the coming project week.
Best regards!
Hello @lassoan,
It seems I missed the last preparation meeting, which was held on June 21st.
Therefore, is it still possible for me to create my project page and share it with slicer experts during the coming week?
Thanks!
Your current submission (for Slicer-5.0) is already under review . If the review is completed then we can add it for both the main and 5.0 branches.
I’ve just changed the license of my extension to MIT.
Is this allow the extension to be distributed to 3D Slicer now? Once my extension is distributed, it can be searched and downloaded from the ‘Extension manager’, is that correct?
Thanks!
Thank you. Your extension is now added to the Extensions Index and it will appear in the Extensions Manager in Slicer from tomorrow or the day after. Check the dashboard for any errors related to your extension tomorrow.