Skip to content

Commit

Permalink
fix structure details section uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Dec 5, 2024
1 parent c9f690e commit aa346b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/DetailPage/ParentsSection/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ const ParentsSection = (props) => {
symmetryInfoList.push(getSymmetryInfo(parent.space_group_number));
});

console.log("parentsList", parentsList);

useEffect(() => {
if (selectedParentUuid) {
fetchParentStructure(selectedParentUuid).then((loaded) => {
Expand Down
4 changes: 2 additions & 2 deletions src/DetailPage/StructureSection/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ const StructureSection = ({ params, loadedData }) => {
Explore provenance{" "}
<ExploreButton
explore_url={EXPLORE_URL}
uuid={details.general.structure_uuid}
uuid={details.general.structure_relaxed_uuid}
/>
</li>
<li>
Download structure
<StructDownloadButton
aiida_rest_url={AIIDA_REST_API_URL}
uuid={details.general.structure_uuid}
uuid={details.general.structure_relaxed_uuid}
/>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions src/DetailPage/VibrationalSection/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const VibrationalSection = (props) => {
const [phononVisData, setPhononVisData] = useState(null);

let vibrationalData = props.loadedData.details.vibrational;
console.log(vibrationalData);
console.log("vibrationalData", vibrationalData);

let bandsUuid = vibrationalData.phonon_bands_uuid;

Expand All @@ -39,7 +39,7 @@ const VibrationalSection = (props) => {

loadPhononVis(props.params.id).then((data) => {
setPhononVisData(data);
console.log("PHONON VIS", data);
console.log("Phonon visualizer data", data);
});
}, []);

Expand Down

0 comments on commit aa346b6

Please sign in to comment.