Comments (7)
If mup2argmap wrote to file incrementally, might be easier to debug, could look at output file?
from argmap.
For 'The colour of doves and seagulls is not relevant to the colour of swans.'
Looks like type should be opposing, but isn't?
Opposing part it is 3 level, rather than 1. But perhaps it's working as it should
"3": {
"title": "group",
"id": "111.39c0.20fcbfa62-22a5.8d66050d3",
"attr": {
"contentLocked": true,
"group": "opposing"
},
"ideas": {
"1": {
"title": "The colour of doves and seagulls is not relevant to the colour of swans.",
"id": "112.39c0.20fcbfa62-22a5.8d66050d3",
"attr": {}
},
"2": {
"title": "These statements do not logically lead to the conclusion that all swans are white.",
"id": "90.284b.9e18170f5-2dfc.554a800f5",
"attr": {},
"ideas": {}
}
}
},
from argmap.
Error thrown by line 65:
parse_claims(items["ideas"], strength, label)
Error thrown by line 34:
local claims = parse_claims(items["ideas"], strength, label)
Label: X
key:o1
id:
'14.7233.0a46019f3-35f8.fe2f2c911'
ideas:
{1=...}
title:
'This black swan is a photo-shopped fake.'
/home/s6mike/git_projects/argmap/mup2argmap:34: bad argument #1 to 'for iterator' (table expected, got nil)
from argmap.
Try removing 'This black swan is a photo-shopped fake.' from map then export
from argmap.
Removing the within argument objections, plus the note added to the objection, seems to fix issue. See https://drive.mindmup.com/map/1FY98eeanu9vAhIqBG1rDKFs3QyM1uQyY, which works.
Also see: Example1_ClearlyFalse_WhiteSwan_minus_inline_objections in which I think I've included everything I can from the original example without throwing an error.
Though output is still a bit flakey in places:
All swans are white.:
r**-1**:
label: supports (+)
These swans are representative of all swans.:
o5:
label: X
**? |-**
# Logical Fallacy
Observing individuals doesn't prove anything about the whole population.
: note: Observing individuals doesn't prove anything about the whole population.
Every swan I've ever seen is white.:
r1:
label: +
Here is a photo of another white swan.: []
Here is a photo of a white swan.:
r1: []
o1:
label: rejects (X)
strength: 5
Not all swans are white.:
r1:
label: +
strength: 5
**? |-**
This is a photo of a black swan from Australia.
https://en.wikipedia.org/wiki/Black_swan
: o1:
label: X
This black swan is a photo-shopped fake.: []
r2:
label: supports (+)
strength: 1
Every seagull I've ever seen is white. :
o3:
label: X
This isn't relevant to the argument of whether all swans are white.: []
Every dove I've ever seen is white.:
o1:
label: X
This colour of doves is not relevant to the colour of swans.: []
...
from argmap.
Running argmap2mup on above gave a file which didn't work in mindmup, but produced this using legacy mapjs:
Issues: has encoding errors. Otherwise - missing images, but no structural differences.
from argmap.
Similar (and more recent):
m2a test/input/mapjs-json/example2-clearly-false-white-swan-v3.mup
lua: /opt/miniconda3/envs/argmap/bin/mup2argmap:53: bad argument #1 to 'for iterator' (table expected, got nil)
stack traceback:
[C]: in function 'next'
/opt/miniconda3/envs/argmap/bin/mup2argmap:53: in function 'parse_claims'
/opt/miniconda3/envs/argmap/bin/mup2argmap:87: in function 'parse_reasons'
/opt/miniconda3/envs/argmap/bin/mup2argmap:62: in function 'parse_claims'
/opt/miniconda3/envs/argmap/bin/mup2argmap:87: in function 'parse_reasons'
/opt/miniconda3/envs/argmap/bin/mup2argmap:62: in function 'parse_claims'
/opt/miniconda3/envs/argmap/bin/mup2argmap:133: in function 'main'
/opt/miniconda3/envs/argmap/bin/mup2argmap:152: in main chunk
[C]: in ?
from argmap.
Related Issues (20)
- Static analyser: argmap2mup showing need check nil errors HOT 1
- pandoc-argmap.lua: fails generating an HTML document from a markdown document with embedded argument map HOT 2
- Static analyser: argmap2mup has undefined global 'args' HOT 2
- Static analyser: warnings about global variables which could be local HOT 1
- Static analyser: more files showing need check nil errors HOT 4
- Static analyser: undefined globals HOT 3
- argmap2mup.lua: Encoding error ' becomes ’ HOT 2
- argmap2mup: order of JSON output varies HOT 1
- argmap2mup output: .mup files appear blank in mindmup (opened from GDrive) HOT 3
- mup2argmap: encoding warning HOT 1
- mup2argmap output often mangled HOT 1
- argmap2mup: getting bad argument #1 for iterator error HOT 2
- README: link to mindmup file doesn't work: you do not have access to this file
- mup2argmap.lua: lint warning: This variable has explicitly defined as `table`. Cannot convert its type to `string|table`. HOT 1
- pandoc-argmap.lua: 2 md to pdf examples from README file crash HOT 1
- pandoc-argmap.lua: .png outputs aren't added to same folder as html output, leading to missing image. HOT 1
- argmh: Hanging when calling `argmh` when browser already open. HOT 1
- `mapjs-example/src/start.js`: When multiple mapjs on page, each control panel affects both maps HOT 1
- Clicking in container restores `overflow: auto` to `element.style` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argmap.