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

[enhancement] Added Guard Cell to the submission page #27

Merged
merged 3 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions cgi-bin/SVGs/GuardCell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 80 additions & 0 deletions cgi-bin/Submission_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -16118,6 +16118,86 @@ <h1 style="font-weight: bold">eFP-Seq Browser User Data Submission</h1>
</g>
</svg>
</td>
<td
onclick="clickclick(this.id); toggleTissueSelection(tissue_click);"
id="GuardCell"
class="tissue_box all"
>
GuardCell:
<br />
<svg
xmlns="http://www.w3.org/2000/svg"
fill="#53f442"
id="Layer_1"
version="1.1"
viewBox="0 0 150 150"
>
<g id="Samples">
<g id="Guard_cells" fill="#FFF">
<path
id="path19"
d="M50.937 33.205a2.74 2.74 0 0 0-.084-.852c-.449-1.645-2.092-2.436-3.688-2.096l-.013.003c-.035 0-.06-.001-.112.001-.23.008-.463-.011-.692-.025-.463-.029-.921-.078-1.385-.086a2.814 2.814 0 0 0-1.426.377c-3.161-.383-6.324.179-8.838 2.033-1.066.786-1.396 1.923-1.25 2.98-1.999 1.111-3.307 3.55-1.872 6.131 2.941 5.307 12.235 18.525 19.654 13.114 1.704-1.243 2.651-3.225 2.029-5.207 1.121.282 2.345-.059 3.04-1.415 3.06-5.964-.2-11.689-5.363-14.958zm.182 11.931a3.005 3.005 0 0 0-.335 1.694c-1.062-.497-2.286-.645-3.354-.221a4.824 4.824 0 0 1-.45-.225c-.918-.598-1.976-1.776-2.864-2.741-1.815-1.967-3.47-4.171-4.77-6.515-.021-.042-.049-.077-.071-.117 2.628-.76 6.492-.05 9.202 1.591.001 1.031.559 2.015 1.473 2.637.009.006.021.014.027.021.055.047.105.093.155.143.045.08.093.158.132.24-.024-.064-.054-.128-.081-.192.314.705.823 1.274 1.458 1.612.007.659-.152 1.353-.522 2.073z"
/>
</g>
</g>
<path
id="path52"
fill="#53f442"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="M55.564 47.71c2.076-7.619-1.887-12.824-7.279-17.154-1.322-1.062-3.739-.955-5.667-1.029-4.822-.186-8.362 2.67-11.381 5.836-1.109 1.164-1.202 3.771-.96 5.616.229 1.75 1.505 3.361 2.066 5.156 11.801 10.073 11.801 10.073 17.02 9.247h8.603"
/>
<path
id="path130"
fill="none"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="M52.687 49.628C42.78 45.523 41.208 44.06 38.783 36.68c2.33-.643 4.641-.573 5.73.501 3.071 3.017 6.964 5.693 5.297 11.008"
/>
<path
id="path212"
fill="none"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="M32.065 26.129c.799 1.918 1.599 3.836 2.396 5.755"
/>
<path
id="path215"
fill="none"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m29.189 37.159-5.755-.479"
/>
<path
id="path230"
fill="none"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m57.962 34.761-3.837 1.438"
/>
<path
id="path231"
fill="none"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="M54.605 48.669c-1.275 1.759-2.558 3.517-3.836 5.275"
/>
</svg>
</td>
</tr>
<tr>
<td
onclick="clickclick(this.id); toggleTissueSelection(tissue_click);"
id="Other"
Expand Down
4 changes: 4 additions & 0 deletions cgi-bin/Submission_page/XMLgenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,8 @@ function determine_svgname(from_svg) {
return "ath-FlowerDevelopment12-14.svg";
} else if (from_svg == "Other" || from_svg == "ath-Other.svg") {
return "ath-Other.svg";
} else if (from_svg === "GuardCell.svg" || from_svg === "ath-GuardCell.svg") {
return "ath-GuardCell.svg";
}
}

Expand Down Expand Up @@ -928,6 +930,8 @@ function determine_hexcode(which_svg, svg_subunit) {
return "0xffff66";
} else if (which_svg == "ath-Other.svg") {
return "0x64cc65";
} else if (which_svg === "ath-GuardCell.svg") {
return "0xd9ffb3";
}
}

Expand Down
2 changes: 1 addition & 1 deletion cgi-bin/Submission_page/XMLgenerator.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cgi-bin/core/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
//=============================================================================
/** Current version of eFP-Seq Browser with the following format: [v-version][version number: #.#.#][-][p-public OR d-dev][year - 4 digits][month - 2 digits][day - 2 digits] */
const version = "v1.4.0-p20240808";
const version = "v1.4.0-p20240930";

// The following variables are purely meant for local development and testing purposes
/** If the current environment is a developer environment */
Expand Down
2 changes: 1 addition & 1 deletion cgi-bin/core/custom.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3099,7 +3099,7 @@ <h3>Cookie and Privacy Policy</h3>
});
}
</script>
<script async rel="preload" as="script" src="cgi-bin/core/custom.js"></script>
<script async rel="preload" as="script" src="cgi-bin/core/custom.min.js"></script>
<script rel="preload" as="script" src="cgi-bin/Submission_page/XMLgenerator.min.js"></script>
<script type="text/javascript">
legacy = false;
Expand Down
Loading