Setting Up The Site
Notes from setting up the site on GitHub, with Jekyll on Ubuntu
2021-03-08, SFN:
Test-page for internal development.
Used for trying out different layouts and learning to use liquid
Because keys may hold multiple values, e.g. tools: [fiji, matlab, ilastik]
and we just want to find if a member has e.g. “fiji” listed
andrzej
sstoma
tarun
simon [“fiji” “matlab” “ilastik”]
sstoma [“fiji” “python”]
Now combine this with algorithmic loop over individual tool values!!
concat
(arrays) or append
(strings) or prepend
to build the variableuniq
filter in liquidandrzej has value of dummy-tool variable: [“python”]
simon has value of dummy-tool variable: [“fiji”“matlab”“ilastik”]
sstoma has value of dummy-tool variable: [“fiji”“python”]
% comment %}
Value of alltools initialy: ["fiji", "fiji"]
Value of alltools in loop: ["fiji", "fiji", "[\"python\"]"]
Value of alltools in loop: ["fiji", "fiji", "[\"python\"]", "[\"fiji\"", " \"matlab\"", " \"ilastik\"]"]
Value of alltools in loop: ["fiji", "fiji", "[\"python\"]", "[\"fiji\"", " \"matlab\"", " \"ilastik\"]", "[\"fiji\"", " \"python\"]"]
remove “\”: [“fiji”, “fiji”, “[“python”]”, “[“fiji””, “ “matlab””, “ “ilastik”]”, “[“fiji””, “ “python”]”]
remove “\”, “[”: “fiji”, “fiji”, ““python”]”, ““fiji””, “ “matlab””, “ “ilastik”]”, ““fiji””, “ “python”]”]
remove “\”, “[”, “]”: “fiji”, “fiji”, ““python””, ““fiji””, “ “matlab””, “ “ilastik””, ““fiji””, “ “python””
Unique list: fiji[“python”][“fiji” “matlab” “ilastik”] “python”]
Unique list, inspected: ["fiji", "[\"python\"]", "[\"fiji\"", " \"matlab\"", " \"ilastik\"]", " \"python\"]"]
This doens’t really work: the combination of yaml and liquid is not a happy one.
% endcomment %}
map
filter on categories
[“cat3” “cat4” “cat5”]
[“cat1” “cat2” “cat3”]
[“cat2” “cat3”]
Doesn’t work that well, since members is a collection
and map
seems built to work on a single page
map
filter on “tools” keyword -
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
- python
- dummy: ["python"]
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
- fijimatlabilastik
- dummy: ["fiji""matlab""ilastik"]
- fijipython
- dummy: ["fiji""python"]
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
-
- dummy:
inspect final item: nil
inspect final concat_tools: ["fiji", "fiji", "[\"python\"]", "[\"fiji\"", "\"matlab\"", "\"ilastik\"]", "[\"fiji\"", "\"python\"]"]
Doesn’t work well at all - again the issue of format of arrays - yaml and liquid not the same thing.
Notes from setting up the site on GitHub, with Jekyll on Ubuntu
We are looking for a highly motivated bioimage data analyst to join the lab of César Nombela-Arrieta, at the department of Medical Oncology and Hematology of...