-
Notifications
You must be signed in to change notification settings - Fork 297
Add mesh details to cube printout. #4778
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9b00753
Slightly refactor repr-html code to rationalise section handling.
pp-mo a25b3e5
Test repr-html of string attributes.
pp-mo 34c830b
Add mesh details to cube printout.
pp-mo 54d8443
Update meshcube printouts in docs.
pp-mo 8e03bd5
Add Mesh section to repr-html.
pp-mo 8bbbfb0
Review change : make test clearer.
pp-mo 646aeab
Review change : fix string truncation/quoting.
pp-mo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
24 changes: 24 additions & 0 deletions
24
...results/unit/experimental/representation/CubeRepresentation/_make_content/mesh_result.txt
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<tr class="iris"> | ||
<td class="iris-title iris-word-cell">Mesh coordinates</td> | ||
<td class="iris-title"></td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> latitude</td> | ||
<td class="iris-inclusion-cell">x</td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> longitude</td> | ||
<td class="iris-inclusion-cell">x</td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-title iris-word-cell">Mesh</td> | ||
<td class="iris-title"></td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> name</td> | ||
<td class="iris-word-cell" colspan="1">unknown</td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> location</td> | ||
<td class="iris-word-cell" colspan="1">face</td> | ||
</tr> |
8 changes: 8 additions & 0 deletions
8
...ion/CubeRepresentation/_make_content__string_attrs/embedded_newlines_string_attribute.txt
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<tr class="iris"> | ||
<td class="iris-title iris-word-cell">Attributes</td> | ||
<td class="iris-title"></td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> newlines-string</td> | ||
<td class="iris-word-cell" colspan="1">'string\nwith\nnewlines'</td> | ||
</tr> |
8 changes: 8 additions & 0 deletions
8
...l/representation/CubeRepresentation/_make_content__string_attrs/long_string_attribute.txt
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<tr class="iris"> | ||
<td class="iris-title iris-word-cell">Attributes</td> | ||
<td class="iris-title"></td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> long-string</td> | ||
<td class="iris-word-cell" colspan="1">'long string.. long string.. long string.. long string.. long string.. long ...'</td> | ||
</tr> |
8 changes: 8 additions & 0 deletions
8
.../representation/CubeRepresentation/_make_content__string_attrs/multi_string_attribute.txt
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<tr class="iris"> | ||
<td class="iris-title iris-word-cell">Attributes</td> | ||
<td class="iris-title"></td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> multi-string</td> | ||
<td class="iris-word-cell" colspan="1">['vector', 'of', 'strings']</td> | ||
</tr> |
8 changes: 8 additions & 0 deletions
8
...representation/CubeRepresentation/_make_content__string_attrs/simple_string_attribute.txt
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<tr class="iris"> | ||
<td class="iris-title iris-word-cell">Attributes</td> | ||
<td class="iris-title"></td> | ||
</tr> | ||
<tr class="iris"> | ||
<td class="iris-word-cell iris-subheading-cell"> single-string</td> | ||
<td class="iris-word-cell" colspan="1">'single string'</td> | ||
</tr> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.