This pull request addresses #2. Now the constructor reads the xml and decides if is beammap or science map what is requested. Since now it is possible to run the constructor for a beammap xml file from macanap and for a science xml from beammap, an error appears in macanap or beammap if the xml is not correct.
This pull request addresses #2. Now the constructor reads the xml and decides if is beammap or science map what is requested. Since now it is possible to run the constructor for a beammap xml file from macanap and for a science xml from beammap, an error appears in macanap or beammap if the xml is not correct.