MAJ (test1-bug version mac chargement fichier)
This commit is contained in:
parent
c06bdca77f
commit
01a4385195
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -201,14 +201,7 @@ public class rechercherUnNodeStudent {
|
|||||||
node nodStudent = null;
|
node nodStudent = null;
|
||||||
if(nodSujet.getAttributs().get("recherche_contenu_plus_proche_voisin").equals("true")) {
|
if(nodSujet.getAttributs().get("recherche_contenu_plus_proche_voisin").equals("true")) {
|
||||||
if(!nodSujet.retourneLesContenusEnfants("").isEmpty()) {
|
if(!nodSujet.retourneLesContenusEnfants("").isEmpty()) {
|
||||||
// System.out.println("recherche par le contenu plus proche voisin");
|
|
||||||
// if(nod0Student!=null) System.out.println("nod0Student "+ nod0Student.toString() + " contenu=" + nod0Student.retourneLesContenusEnfants(""));
|
|
||||||
// if(nod1Student!=null) System.out.println("nod1Student "+ nod1Student.toString() + " contenu=" + nod1Student.retourneLesContenusEnfants(""));
|
|
||||||
// if(nod2Student!=null) System.out.println("nod2Student "+ nod2Student.toString() + " contenu=" + nod2Student.retourneLesContenusEnfants(""));
|
|
||||||
|
|
||||||
|
|
||||||
String valueAttribut = evaluation.withoutCodeAndPointPourRechercheContenuExact(nodSujet.retourneLesContenusEnfants(""));
|
String valueAttribut = evaluation.withoutCodeAndPointPourRechercheContenuExact(nodSujet.retourneLesContenusEnfants(""));
|
||||||
// System.out.println("Contenu recherché = " + valueAttribut);
|
|
||||||
if(nod0Student!=null) if(nodStudent==null) nodStudent = a.retourneLeNodeByContentPlusProche(nod0Student.getNodes(), valueAttribut, nodSujet.getNomElt(),0.5,null);
|
if(nod0Student!=null) if(nodStudent==null) nodStudent = a.retourneLeNodeByContentPlusProche(nod0Student.getNodes(), valueAttribut, nodSujet.getNomElt(),0.5,null);
|
||||||
if(nod1Student!=null) if(nodStudent==null) nodStudent = a.retourneLeNodeByContentPlusProche(nod1Student.getNodes(), valueAttribut, nodSujet.getNomElt(),0.5,null);
|
if(nod1Student!=null) if(nodStudent==null) nodStudent = a.retourneLeNodeByContentPlusProche(nod1Student.getNodes(), valueAttribut, nodSujet.getNomElt(),0.5,null);
|
||||||
if(nod2Student!=null) if(nodStudent==null) nodStudent = a.retourneLeNodeByContentPlusProche(nod2Student.getNodes(), valueAttribut, nodSujet.getNomElt(),0.5,null);
|
if(nod2Student!=null) if(nodStudent==null) nodStudent = a.retourneLeNodeByContentPlusProche(nod2Student.getNodes(), valueAttribut, nodSujet.getNomElt(),0.5,null);
|
||||||
|
@ -59,7 +59,12 @@ public class filechooserXML extends JFileChooser {
|
|||||||
|
|
||||||
private void openFileXML(File file) {
|
private void openFileXML(File file) {
|
||||||
commandes.fichierAnalyseValide=true;
|
commandes.fichierAnalyseValide=true;
|
||||||
commandes.path = file.getPath().substring(0,file.getPath().lastIndexOf("\\"));
|
if(file.getPath().lastIndexOf("\\")>0) {
|
||||||
|
commandes.path = file.getPath().substring(0,file.getPath().lastIndexOf("\\"));
|
||||||
|
}else {
|
||||||
|
commandes.path = file.getPath();
|
||||||
|
}
|
||||||
|
|
||||||
commandes.PathFilenameAnalysis = getCurrentDirectory().getPath();
|
commandes.PathFilenameAnalysis = getCurrentDirectory().getPath();
|
||||||
commandes.nameSujet = file.getName().toString();
|
commandes.nameSujet = file.getName().toString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user